<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>1.过渡与动画</title>
		<style>
			h1{
				background-color: orange;
			}
			@keyframes atguigu{
				0%{
					transform: translateX(0px);
				}
				100%{
					transform: translateX(-100%);
				}
			}
			.leave{
				animation:atguigu 1s linear;
				animation-fill-mode: forwards;
			}
			.come{
				animation:atguigu 1s linear reverse;
			}
		</style>
	</head>
	<body>
		<h1>你好啊！</h1>


		<input type="text">
		<input type="checked">
		<input type="radio">
		<select name="" id=""></select>
		<textarea></textarea>

	</body>
</html>